package com.qzimp.fujiancuo.config;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("")
@Table(value = "tb_minio_file")
public class MinioFile {
    private static final long serialVersionUID = 1L;

    @Id(keyType = KeyType.Auto)
    @ApiModelProperty("")
    private Integer id;

    @ApiModelProperty("")
    private String name;

    @ApiModelProperty("")
    private String filePath;
    @ApiModelProperty("")
    private String domain;
    @ApiModelProperty("")
    private String originalName;
    @ApiModelProperty("")
    private String hash;
    @ApiModelProperty("")
    private Long size;

    @ApiModelProperty("")
    private LocalDateTime putTime;

    @ApiModelProperty("")
    private String contentType;

}

